package xyz.second.database.portal.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 课程表
 * </p>
 *
 * @author qjw
 * @since 2021-06-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("course")
public class Course implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 课程编号
     */
    @TableId(value = "course_id", type = IdType.AUTO)
    private Integer courseId;

    /**
     * 课程名称
     */
    @TableField("course_name")
    private String courseName;

    /**
     * 课程创建时间
     */
    @TableField("course_createtime")
    private LocalDateTime courseCreatetime;

    /**
     * 学分
     */
    @TableField("course_credit")
    private Integer courseCredit;

    /**
     * 签到时间
     */
    @TableField("course_intime")
    private LocalDateTime courseIntime;

    /**
     * 签退时间
     */
    @TableField("course_outtime")
    private LocalDateTime courseOuttime;

    /**
     * 课程教室
     */
    @TableField("course_classroom")
    private String courseClassroom;

    /**
     * 责任老师
     */
    @TableField("teacher_id")
    private Integer teacherId;

    /**
     * 备注
     */
    @TableField("course_note")
    private String courseNote;


}
